/**
 * Created by CJB on 2017-01-03 10:52:26.
 */


//分页插件
var jqp = null;
//初始化分页
$(function () {
    jqp = $.jqPaginator('#pagination', {
	    visiblePages: 10,
	    currentPage: pageNumber,
	    pageSize: pageSize,
	    totalCounts: totalCount,
	    onPageChange: function (num, type) {
	        if(num != pageNumber)
	            window.location.href = getPath() + "base/log/list/" + num +"/"+pageSize+"?" + $("#searchForm").serialize();
	    }
    });
  //点击查询
    $("#searchBtn").click(function(){
        window.location.href = getPath() + "base/log/list/1/"+pageSize+"?" + $("#searchForm").serialize();
    });
     
    //去除所有控件的虚线框
    removeBlur();
});
